package com.aisino.mplearning.service.impl;

import com.aisino.mplearning.service.AppsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import com.aisino.mplearning.mapper.AppsMapper;
import com.aisino.mplearning.entity.Apps;

import javax.annotation.Resource;

/**
 * @author guochuantao
 * @since 2024/8/27 下午4:09
 * @version 1.0
 * @description  
*/

@Service
public class AppsServiceImpl extends ServiceImpl<AppsMapper,Apps> implements AppsService {

    @Resource
    private AppsMapper appsMapper;

    
    public int deleteByPrimaryKey(Integer id) {
        return appsMapper.deleteByPrimaryKey(id);
    }

    
    public int insert(Apps record) {
        return appsMapper.insert(record);
    }

    
    public int insertSelective(Apps record) {
        return appsMapper.insertSelective(record);
    }

    
    public Apps selectByPrimaryKey(Integer id) {
        return appsMapper.selectByPrimaryKey(id);
    }

    
    public int updateByPrimaryKeySelective(Apps record) {
        return appsMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(Apps record) {
        return appsMapper.updateByPrimaryKey(record);
    }

}
